package gtug.duesseldorf.client;

import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;

public abstract class GenericAsyncCallback<T> implements AsyncCallback<T> {

	@Override
	public void onFailure(Throwable caught) {

		String msg = (caught != null ? caught.getLocalizedMessage() : "");

		Window.alert("error, try restarting jetty...:" + msg);
	}

}
